package com.xqboss.apps.domain.synthesis;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.synthesis.SynthesisTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 合成方案-结果
 * </p>
 *
 * @author 木鱼
 * @since 2023-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="SynthesisPlanResult对象", description="合成方案-结果")
public class SynthesisPlanResult extends BaseTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "方案id")
    private Long planId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "图片")
    private String imgUrl;

    @ApiModelProperty(value = "材料类型[1藏品，2装备，3箱子，4热豆]")
    private SynthesisTypeEnum type;

    @ApiModelProperty(value = "关联id")
    private Long thirdId;

    @ApiModelProperty(value = "产出数量")
    private BigDecimal productNum;

    @ApiModelProperty(value = "总库存")
    private Integer num;

    @ApiModelProperty(value = "锁定库存")
    private Integer lockNum;

    @ApiModelProperty(value = "已使用库存")
    private Integer nowNum;


}
